home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-08-28 | 1.8 KB | 71 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="6"
- "COUNT"="3"
- "UIPATH"="Appearance\Explorer\Settings"
- "NAME"="Explorer Options"
- "VERSION"="1.51"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Show "File" menu"
- "TEXT 2"="Enable fast update"
- "TEXT 3"="Wrap long icon-titles"
- "DESCRIPTION 1"="Option 1: To hide the "File" menu inside the Windows Explorer, deactivate this option."
- "DESCRIPTION 2"="Option 2: Enables your open Windows Explorer windows and the desktop screen to refresh more quickly when activated."
- "DESCRIPTION 3"="Option 3: Splits long icon names into several small lines rather than one long line which may be displayed truncated"
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
-
-
- sP1="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\"
- sV1="NoFileMenu"
- sV2="HKLM\System\CurrentControlSet\Control\Update\UpdateMode" 'BINARY!
- sV3="HKCU\Control Panel\Desktop\WindowMetrics\IconTitleWrap"
-
-
- Sub Plugin_Initialize
- i=RegReadValue(sp1&sv1)
- If IsEmpty(i) or i=0 then SetUIElement 1,true
-
- b=RegReadValue(sV2)
- if b="00" then SetUIElement 2,true
-
- b=RegReadValue(sV3)
- if b=1 then SetUIElement 3,true
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- s=RegReadValue(sp1&sV1)
- if IsEmpty(s)=false then
- Call RegDeleteValue(sp1&sv1)
- end if
- else
- Call RegWriteValue(sp1&sv1,1,2)
- end if
-
- b=GetUIElement(2)
- if b=true then
- Call RegWriteValue(sV2,"00",3)
- else
- Call RegWriteValue(sV2,"01",3)
- end if
-
- b=GetUIElement(3)
- if b=true then
- Call RegWriteValue(sV3,1,2)
- else
- Call RegWriteValue(sV3,0,2)
- end if
-
-
- Call IndicateSettingChange()
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-